package com.bj58.ecdata.monitor.constant;

/**
 * @author lichao
 *
 */
public class Constant {

	public static final int MODEL_TYPE_COLUMNAR = 0;
	public static final int MODEL_TYPE_MAP = 1;

	public static final int TYPE_DISP_PV = 1;// 展出PV
	public static final int TYPE_DISP_AD_NUM = 2;// 展出广告位数
	public static final int TYPE_CLICK_PV = 3;// 点击PV
	public static final int TYPE_CLICK_CUST_NUM = 4;// 点击客户数
	public static final int TYPE_CLICK_COST = 5;// 点击实际扣费金额
	public static final int TYPE_CLICK_CASH = 6;// 点击扣费现金
	public static final int TYPE_DISP_AD = 7;// 可出广告PV（json数）

	public static final int _1s = 1000;
	public static final int _2s = _1s * 2;
	public static final int _10s = _1s * 10;
	public static final int _1m = _1s * 60;
	public static final int _1h = _1m * 60;
	public static final int _2h = _1h * 2;
	public static final int _1d = _1h * 24;
	public static final int _2d = _1d * 2;

	public static final int s_1h = 60 * 60;
	public static final int s_2h = s_1h * 2;
	public static final int s_1d = s_1h * 24;
	public static final int s_2d = s_1d * 2;


	public static final String TRACK_REDIS_QUEUE_KEY = "track_queue";
	public static final String TRACK_REDIS_QUEUE_KEY_tmp = "track_queue_tmp";
	public static final String CPC_DISPLAY_REDIS_QUEUE_KEY = "cpc_display_queue";
	public static final String CPC_CLICK_REDIS_QUEUE_KEY = "cpc_click_queue";
	public static final String INFO_REDIS_QUEUE_KEY = "imc_add_queue";
	public static final String RESUME_ADD_REDIS_QUEUE_KEY = "resume_add_queue";


	public static int DEFAULT_EXPIRED_TIME = 60 * 60 * 24 * 2;

	public static final String DETAILS_CLICK = "details_click";
	public static final String SEARCH_WORD_TRACK = "search_word_track";
}
